Skip to content

Maximize LobeHub MCP score: prompts, resources, Smithery, MIT license#137

Merged
greynewell merged 1 commit intomainfrom
lobehub-score-improvements
Mar 30, 2026
Merged

Maximize LobeHub MCP score: prompts, resources, Smithery, MIT license#137
greynewell merged 1 commit intomainfrom
lobehub-score-improvements

Conversation

@greynewell
Copy link
Copy Markdown
Contributor

@greynewell greynewell commented Mar 30, 2026

  • Add MCP prompts: lookup-symbol and explore-architecture
  • Add MCP resources: configuration reference and quickstart guide
  • Add smithery.yaml for one-click Smithery deployment
  • Add MIT LICENSE file and update package.json license field

Expected score gain: +36 pts (prompts +8, resources +8, deploy +12, license +8)

Summary by CodeRabbit

Release Notes

  • New Features

    • Added two new documentation prompts: symbol lookup and architecture exploration.
    • Introduced built-in documentation resources for configuration and quickstart guides.
  • Chores

    • Updated package license to MIT.
    • Added MIT License file to the repository.

- Add MCP prompts: lookup-symbol and explore-architecture
- Add MCP resources: configuration reference and quickstart guide
- Add smithery.yaml for one-click Smithery deployment
- Add MIT LICENSE file and update package.json license field

Expected score gain: +36 pts (prompts +8, resources +8, deploy +12, license +8)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@greynewell greynewell requested a review from abrahamwolke March 30, 2026 18:47
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 30, 2026

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f2a66202-8730-4742-8db2-f6892312a6e3

📥 Commits

Reviewing files that changed from the base of the PR and between 54adaa2 and 671567b.

📒 Files selected for processing (4)
  • LICENSE
  • package.json
  • smithery.yaml
  • src/server.ts

Walkthrough

The PR adds MIT licensing to the project, configures an MCP server startup mechanism via smithery.yaml, and extends the MCP server to support prompts and resource capabilities—allowing clients to request both structured prompts and markdown documentation.

Changes

Cohort / File(s) Summary
Licensing
LICENSE, package.json
Added MIT License text and updated package metadata to reflect MIT license instead of UNLICENSED.
Server Startup Configuration
smithery.yaml
Added startCommand configuration defining stdio-based server startup, with a configSchema requiring an apiKey and a commandFunction that invokes @supermodeltools/mcp-server with the API key passed as an environment variable.
MCP Server Capabilities
src/server.ts
Extended server capabilities to include prompts and resources; added setupPrompts() to register two prompts (lookup-symbol, explore-architecture) with Zod-validated schemas, and setupResources() to register two markdown resources (supermodel://docs/configuration, supermodel://docs/quickstart) with embedded documentation handlers.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • jonathanpopham
  • robotson

Poem

🎉 Licensed under MIT, the code runs free,
Prompts and resources bloom on the tree,
A startup config guides the way,
From smithery plans to server play—
Your MCP now knows what to say! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: adding prompts, resources, Smithery configuration, and MIT license—all key improvements mentioned in the PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch lobehub-score-improvements

Comment @coderabbitai help to get the list of available commands and usage tips.

@greynewell greynewell merged commit f36a954 into main Mar 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant